package com.match.pattern.command.barbecuer;

public class BarbecueTest {

	public BarbecueTest() {
	}
	
	public static void main(String[] args) {
		Barbecuer barbecuer=new Barbecuer();
		Command command1=new BakeChinkenWings(barbecuer);
		Command command2=new BakeMutton(barbecuer);
		barbecuer.setOrder(command1);
		barbecuer.setOrder(command2);
		barbecuer.removeOrder(command1);
		barbecuer.setOrder(command1);
		barbecuer.removeOrder(command1);
	}

}
